package com.woniuxy02;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-08-27 15:36
 */
public class Test02 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入月份");
        int month = sc.nextInt();
        switch (month) {
            case 1:
            case 2:
            case 3:
                System.out.println("spring");
                break;
            case 4:
            case 5:
            case 6:
                System.out.println("summer");
                break;
            case 7:
            case 8:
            case 9:
                System.out.println("autumn");
                break;
            case 10:
            case 11:
            case 12:
                System.out.println("winter");
                break;
            default:
                System.out.println("error");
                break;
        }

    }
}
